export default function (config: any, newValue: any = {}) {
    for (let keyname in newValue) {
        if (!/^\_\_/.test(keyname)) {
            config[keyname].value = newValue[keyname]
        }
    }

    return config
}
